enum {
COLUMN_NODE_NAME,
- COLUMN_NODE_TYPE,
COLUMN_NODE_VISIBLE,
COLUMN_NODE_CLASSES,
COLUMN_NODE_ID,
g_value_set_string (value, gtk_css_node_get_name (node));
break;
- case COLUMN_NODE_TYPE:
- g_value_set_string (value, g_type_name (gtk_css_node_get_widget_type (node)));
- break;
-
case COLUMN_NODE_VISIBLE:
g_value_set_boolean (value, gtk_css_node_get_visible (node));
break;
priv->node_model = gtk_tree_model_css_node_new (gtk_inspector_css_node_tree_get_node_value,
N_NODE_COLUMNS,
G_TYPE_STRING,
- G_TYPE_STRING,
G_TYPE_BOOLEAN,
G_TYPE_STRING,
G_TYPE_STRING,
<column type="gchararray"/>
<column type="gchararray"/>
<column type="gchararray"/>
- <column type="gchararray"/>
<column type="gint"/>
</columns>
</object>
<signal name="changed" handler="selection_changed"/>
</object>
</child>
- <child>
- <object class="GtkTreeViewColumn">
- <property name="resizable">1</property>
- <property name="title" translatable="yes">Type</property>
- <child>
- <object class="GtkCellRendererText"/>
- <attributes>
- <attribute name="text">1</attribute>
- <attribute name="sensitive">2</attribute>
- </attributes>
- </child>
- </object>
- </child>
<child>
<object class="GtkTreeViewColumn" id="node_name_column">
<property name="resizable">1</property>
<object class="GtkCellRendererText"/>
<attributes>
<attribute name="text">0</attribute>
- <attribute name="sensitive">2</attribute>
+ <attribute name="sensitive">1</attribute>
</attributes>
</child>
</object>
<child>
<object class="GtkCellRendererText"/>
<attributes>
- <attribute name="text">4</attribute>
- <attribute name="sensitive">2</attribute>
+ <attribute name="text">3</attribute>
+ <attribute name="sensitive">1</attribute>
</attributes>
</child>
</object>
<child>
<object class="GtkCellRendererText"/>
<attributes>
- <attribute name="text">3</attribute>
- <attribute name="sensitive">2</attribute>
+ <attribute name="text">2</attribute>
+ <attribute name="sensitive">1</attribute>
</attributes>
</child>
</object>
<child>
<object class="GtkCellRendererText"/>
<attributes>
- <attribute name="text">5</attribute>
- <attribute name="sensitive">2</attribute>
+ <attribute name="text">4</attribute>
+ <attribute name="sensitive">1</attribute>
</attributes>
</child>
</object>